This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: Send meeting invitation to Outlook with LotusScript
Feedback Type: Question
Product Area: Designer Client
Technical Area: Application development
Platform: Windows XP client
Release: All
Reproducible: Not applicable
Hi!
How do I send a meeting invitation to Outlook from a Lotuscript agent?
My company has moved to Outlook but we still have Lotus Notes applications. Currently, if I manually create a meeting invitation with myself as a recipient in Lotus Notes I will get an invitation in Lotus Notes and also an invitation in Outlook.
I have an agent that creates a Lotus Notes invitation & calendar entry but when it shows up in Outlook it looks like a memo.
Here's a code snippet. Can anyone tell me what I'm doing wrong? I appreciate any response!
Dim db As New NotesDatabase ("CFCNotes/CFC", "mail\mymail.nsf")
Dim doc As NotesDocument
Set doc = db.CreateDocument
'START TIME
Dim dateTime As New NotesDateTime( Now )
Call dateTime.AdjustMinute( 15)
Set doc.StartDateTime = dateTime
Set doc.StartDate = dateTime
Set doc.StartTime = dateTime
Set doc.CalendarDateTime = dateTime
'END TIME
Dim dateTime2 As New NotesDateTime( Now )
Call dateTime2.AdjustHour(2)
Set doc.EndDateTime = dateTime2
Set doc.EndDate = dateTime2
Set doc.EndTime = dateTime2